﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EntityDesigner2
{
    /// <summary>
    /// 表字段
    /// </summary>
    public class TableColumn
    {
        public string ColumnName { get; set; }
        public string ColumnDbName { get; set; }
        public string ColumnText { get; set; }
        public string ColumnType { get; set; }
        public int ColumnTypeLength { get; set; }
        public int ColumnTypeFloat { get; set; }
        public bool ColumnNullable { get; set; }
        public bool ColumnPrimaryKey { get; set; }
        public bool ColumnRequired { get; set; }
        public virtual string ColumnVarType { get; set; }
        public bool ColumnMake { get; set; }
        /// <summary>
        /// 索引
        /// </summary>
        public bool ColumnIndexer { get; set; }
        /// <summary>
        /// 唯一
        /// </summary>
        public bool ColumnUnique { get; set; }
    }
}
